{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "bd9a2ba4",
   "metadata": {},
   "source": [
    "weekly\n",
    "周一到周五的课程=\"\"\n",
    "if weekly==1:\n",
    "    print(周一的课成)\n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "eeb8527d",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "4\n"
     ]
    }
   ],
   "source": [
    "import time\n",
    "weekly=time.strftime(\"%w\")\n",
    "print(weekly)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "id": "31ee6168",
   "metadata": {},
   "outputs": [
    {
     "ename": "SyntaxError",
     "evalue": "invalid syntax (<ipython-input-15-5c7baf5f95e9>, line 4)",
     "output_type": "error",
     "traceback": [
      "\u001b[1;36m  File \u001b[1;32m\"<ipython-input-15-5c7baf5f95e9>\"\u001b[1;36m, line \u001b[1;32m4\u001b[0m\n\u001b[1;33m    if weekly=0:\u001b[0m\n\u001b[1;37m             ^\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m invalid syntax\n"
     ]
    }
   ],
   "source": [
    "import time\n",
    "weekly=time.strftime(\"%w\")\n",
    "\n",
    "if weekly=0:\n",
    "    print(\"happy\")\n",
    "elif weekly=1:\n",
    "    print(\"周一的课程：英语16：10-17：50\")\n",
    "elif weekly=2:\n",
    "    print(\"只有下午的一节设计交互流程\")\n",
    "elif weekly=3:\n",
    "    print(\"周三晚上让人瞌睡的设计学史\")\n",
    "elif weekly=4:\n",
    "    print(\"周四上到晚上10点的编程课啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊\")\n",
    "elif weekly=5:\n",
    "    print(\"篮球课\")\n",
    "else:\n",
    "    print(\"happy\")\n",
    "          "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "51772250",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "e18f1de6",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
